<?php
	$category = $data['category'];
	$detail = $data['detail'];
?>
<div>
	
<dl class="n-box">
	<dt class="n-box-head">
		<b><?=$category['name']?> - 菜单管理</b>
	</dt>
	<dd class="n-box-body content">
		

		<form method="post" action="<?=n_url('site', 'menuDoUpdate')?>">
		<dl class="n-form n-sep-top">
			<dt>菜单分类：</dt>
			<dd><input type="text" value="<?=$category['name']?>" readOnly></dd>
			<dt>名称：</dt>
			<dd><input type="text" name="menuName" value="<?=$detail['name']?>"></dd>
			<dt>地址：</dt>
			<dd><input type="text" name="menuUrl" value="<?=$detail['url']?>"></dd>
			<dt>打开方式：</dt>
			<dd>
				<select name="blank">
					<option value="N" <?=$detail['blank'] == 'N' ? 'selected' : ''?>>默认方式</option>
					<option value="Y" <?=$detail['blank'] == 'Y' ? 'selected' : ''?>>新窗口打开</option>
				</select>				
			</dd>
			<dt>是否显示：</dt>
			<dd>
				<select name="status">
					<option value="On" <?=$detail['status'] == 'On' ? 'selected' : ''?>>显示</option>
					<option value="Off" <?=$detail['status'] == 'Off' ? 'selected' : ''?>>不显示</option>
				</select>
			</dd>
			<dt>序权：</dt>
			<dd><input type="text" name="dorder" value="<?=$detail['dorder']?>"></dd>
			<dt>&nbsp;</dt>
			<dd>
				<input type="hidden" name="cid" value="<?=$category['id']?>">
				<input type="hidden" name="did" value="<?=$detail['id']?>">
				<button>保存</button>
			</dd>
		</dl>
		</form>
	</dd>
</dl>
</div>
